package xyz.xtt.asset.request;

import java.math.BigDecimal;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 帐户划转
 * 
 * @author huqibo
 * @date 2025/01/09
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class AssetTransferFromRequest {
	private Long from;
	private Long to;
	@Min(value = 1, message = "最少1个")
	@NotNull(message = "请提供数量")
	private Integer num;
	private Long assetId;
	/**
	 * 第三方 支付单号
	 */
	private String orderNo;
	private BigDecimal orderPirce;
	private String bizType;
}
